package com.zjsru.payment.service;

import com.zjsru.payment.pojo.ProductTransaction;

import java.util.List;

public interface PaymentService {
    void createTransaction(ProductTransaction productTransaction);

    List<ProductTransaction> queryTransaction();

    List<ProductTransaction> queryTransactionByUserId(Long userId);

    void refund(Long transactionId);
}
